package org.walkerljl.commons.unit.domain;

import java.io.Serializable;

/**
 * User
 *
 * @author: lijunlin
 */
public class User implements Serializable {

    private String userId;
    private String userName;

    public User() {

    }

    public User(String userId) {
        this(userId, null);
    }

    public User(String userId, String userName) {
        this.userId = userId;
        this.userName = userName;
    }

    public final String getGender() {
        return "male";
    }

    public static String doStatic() {
        return "static";
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
